﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using Gameplay.PVE.Survivor;
using OWL.Rendering.HRP;
using UnityEditor;
using UnityEngine;
using Yoozoo.HRP.Runtime;
using Vector3 = UnityEngine.Vector3;

[CustomEditor(typeof(GpuSkinningWeapon))]
public class GpuSkinningWeaponEditor : Editor
{
    private GpuSkinningWeapon data;

    private void OnEnable()
    {
        data = target as GpuSkinningWeapon;
    }

    public override void OnInspectorGUI()
    {
       /*if (GUILayout.Button("生成"))
        {
            GenerateMesh();
        }*/
        if (GUILayout.Button("回到TPos"))
        {
            data.ResetTPos();
        }
        if (GUILayout.Button("一键刷新（找武器）"))
        {
            data.FindWeapon();
        }
        base.OnInspectorGUI();
    }
}